package com.yaolisehng.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author : yaols
 * Desc:
 * Date: 2023.04.13.16:06
 **/

@FeignClient(url = "http://localhost:80", name = "localhost-knowledge-client")
public interface GlobalFeignClient {


    @RequestMapping(value = "/test", method = RequestMethod.GET)
    String test();

}
